package com.buba.customer.dao;

import com.buba.customer.pojo.Customer;
import com.buba.system.pojo.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface CustomerMapper {
    List<Customer> selCustomerTable(Page<Customer> page);

    Long selCustomerCount();

    Integer delCustomerAll(List<String> list);

    Integer addCustomer(Map<String, Object> map);

    Long selCount(Map<String, Object> map);

    List<Customer> selAllCustomer(Map<String, Object> map);

    Integer updCustomer(Map<String, Object> map);




    List<Customer> selCustomerCustomerNo(Map<String, Object> map);
}
